package com.weiyuwqj.api.model.convert;

import java.text.SimpleDateFormat;

/**
 * Created by Administrator on 2016/3/25.
 */
public class InvestAddtimeConvert implements ModelConvert {
    public Object convert(Object val) {
        if (val == null) return "";
        SimpleDateFormat dateFormat= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return dateFormat.format(val);
    }
}
